﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using System.Xml.Linq;
using System.Xml;
using AzukiMap.Layer;
using AzukiMap.Map;
using System.Collections.Generic;

namespace AzukiMapUI
{
    public class sampleData
    {
        public sampleData()
        {
        }

        public void SetMiyakeSamples(MapControl mapControl)
        {
            XDocument layers = XDocument.Parse(miyakeSampleXmlText2);
            foreach (XElement pgLayerElem in layers.Element("Layers").Elements("PostGisLayer"))
            {
                MapCanvas canvas = mapControl.CreateMapCanvas();
                PostGisLayer pgLayer = new PostGisLayer(canvas);
                pgLayer.Parse(pgLayerElem);
                mapControl.AddLayerButtom(pgLayer);
            }
        }

        string miyakeSampleXmlText2 = @"
<Layers>
  <PostGisLayer Name='seismographic station' Visible='true' Type='Vector' Readable='true' Writable='true' MaxScale='50000' MinScale='0' Opacity='1'>
    <PostGisSource Name='miyake_public_miyake_seismo_bl' Srid='4301' CoordUnit='DEGREES' MaxScale='1E+18' MinScale='0' DbName='miyake' GeometryColumn='the_geom' TableName='miyake_seismo_bl' TableCatalog='' TableSchema='public' GetColumnDataUri='http://azukimap.jp/amdev/getGeomData.php'>
      <SourceLogo></SourceLogo>
      <VectorType>Point</VectorType>
    </PostGisSource>
    <DefaultStyle>
      <FillRule>EvenOdd</FillRule>
      <Opacity>1</Opacity>
      <Stroke>
        <Brush>
          <SolidColorBrush>
            <Color R='0' G='0' B='0' A='255' />
            <Opacity>1</Opacity>
          </SolidColorBrush>
        </Brush>
      </Stroke>
      <StrokeThickness>1</StrokeThickness>
      <StrokeDashArray>
        <DoubleCollection>
          <Value>11</Value>
        </DoubleCollection>
      </StrokeDashArray>
      <StrokeDashOffset>0</StrokeDashOffset>
      <StrokeDashCap>Flat</StrokeDashCap>
      <StrokeStartLineCap>Flat</StrokeStartLineCap>
      <StrokeEndLineCap>Square</StrokeEndLineCap>
      <StrokeLineJoin>Round</StrokeLineJoin>
      <StrokeMiterLimit>1</StrokeMiterLimit>
      <PointWidth>5</PointWidth>
      <PointHeight>5</PointHeight>
      <PointType>Circle</PointType>
      <PointImage>
        <Image Width='NaN' Height='NaN' Opacity='1'>
          <ImageSource>
            <BitmapImage Uri='' />
          </ImageSource>
        </Image>
      </PointImage>
      <AdjustX>0</AdjustX>
      <AdjustY>0</AdjustY>
    </DefaultStyle>
    <LayerThemes />
  </PostGisLayer>
  <PostGisLayer Name='spot elevation' Type='Vector' Visible='true' Readable='true' Writable='true' MaxScale='10000' MinScale='0' Opacity='1'>
    <PostGisSource Name='miyake_public_altitude_bl' Srid='4301' CoordUnit='DEGREES' MaxScale='1E+18' MinScale='0' DbName='miyake' GeometryColumn='the_geom' TableName='altitude_bl' TableCatalog='' TableSchema='public' GetColumnDataUri='http://azukimap.jp/amdev/getGeomData.php'>
      <SourceLogo></SourceLogo>
      <VectorType>Point</VectorType>
    </PostGisSource>
    <DefaultStyle>
      <FillRule>EvenOdd</FillRule>
      <Opacity>1</Opacity>
      <Stroke>
        <Brush>
          <SolidColorBrush>
            <Color R='0' G='0' B='0' A='255' />
            <Opacity>1</Opacity>
          </SolidColorBrush>
        </Brush>
      </Stroke>
      <StrokeThickness>1</StrokeThickness>
      <StrokeDashArray>
        <DoubleCollection>
          <Value>11</Value>
        </DoubleCollection>
      </StrokeDashArray>
      <StrokeDashOffset>0</StrokeDashOffset>
      <StrokeDashCap>Flat</StrokeDashCap>
      <StrokeStartLineCap>Flat</StrokeStartLineCap>
      <StrokeEndLineCap>Square</StrokeEndLineCap>
      <StrokeLineJoin>Round</StrokeLineJoin>
      <StrokeMiterLimit>1</StrokeMiterLimit>
      <PointWidth>5</PointWidth>
      <PointHeight>5</PointHeight>
      <PointType>Circle</PointType>
      <PointImage>
        <Image Width='NaN' Height='NaN' Opacity='1'>
          <ImageSource>
            <BitmapImage Uri='' />
          </ImageSource>
        </Image>
      </PointImage>
      <AdjustX>0</AdjustX>
      <AdjustY>0</AdjustY>
    </DefaultStyle>
    <LayerThemes />
  </PostGisLayer>
  <PostGisLayer Name='road' Type='Vector' Visible='true' Readable='true' Writable='true' MaxScale='50000' MinScale='0' Opacity='1'>
    <PostGisSource Name='miyake_public_road_bl' Srid='4301' CoordUnit='DEGREES' MaxScale='1E+18' MinScale='0' DbName='miyake' GeometryColumn='the_geom' TableName='road_bl' TableCatalog='' TableSchema='public' GetColumnDataUri='http://azukimap.jp/amdev/getGeomData.php'>
      <SourceLogo></SourceLogo>
      <VectorType>MultiLineString</VectorType>
    </PostGisSource>
    <DefaultStyle>
      <Fill>
        <Brush>
          <SolidColorBrush>
            <Color R='128' G='128' B='128' A='255' />
            <Opacity>0</Opacity>
          </SolidColorBrush>
        </Brush>
      </Fill>
      <FillRule>EvenOdd</FillRule>
      <Opacity>1</Opacity>
      <Stroke>
        <Brush>
          <SolidColorBrush>
            <Color R='126' G='126' B='126' A='255' />
            <Opacity>1</Opacity>
          </SolidColorBrush>
        </Brush>
      </Stroke>
      <StrokeThickness>0.25</StrokeThickness>
      <StrokeDashArray>
        <DoubleCollection>
          <Value>11</Value>
        </DoubleCollection>
      </StrokeDashArray>
      <StrokeDashOffset>0</StrokeDashOffset>
      <StrokeDashCap>Square</StrokeDashCap>
      <StrokeStartLineCap>Square</StrokeStartLineCap>
      <StrokeEndLineCap>Square</StrokeEndLineCap>
      <StrokeLineJoin>Round</StrokeLineJoin>
      <StrokeMiterLimit>1</StrokeMiterLimit>
      <PointWidth>5</PointWidth>
      <PointHeight>5</PointHeight>
      <PointType>Circle</PointType>
      <PointImage>
        <Image Width='NaN' Height='NaN' Opacity='1'>
          <ImageSource>
            <BitmapImage Uri='' />
          </ImageSource>
        </Image>
      </PointImage>
      <AdjustX>0</AdjustX>
      <AdjustY>0</AdjustY>
    </DefaultStyle>
    <LayerThemes>
      <VectorLayerTheme>
        <ThemeName>theme name</ThemeName>
        <ThemeId>29</ThemeId>
        <Expression>大分類='道路'</Expression>
        <Style>
          <Fill>
            <Brush>
              <SolidColorBrush>
                <Color R='128' G='128' B='128' A='255' />
                <Opacity>0</Opacity>
              </SolidColorBrush>
            </Brush>
          </Fill>
          <FillRule>EvenOdd</FillRule>
          <Opacity>1</Opacity>
          <Stroke>
            <Brush>
              <SolidColorBrush>
                <Color R='134' G='134' B='134' A='255' />
                <Opacity>1</Opacity>
              </SolidColorBrush>
            </Brush>
          </Stroke>
          <StrokeThickness>1.25</StrokeThickness>
          <StrokeDashArray>
            <DoubleCollection>
              <Value>11</Value>
            </DoubleCollection>
          </StrokeDashArray>
          <StrokeDashOffset>0</StrokeDashOffset>
          <StrokeDashCap>Square</StrokeDashCap>
          <StrokeStartLineCap>Square</StrokeStartLineCap>
          <StrokeEndLineCap>Square</StrokeEndLineCap>
          <StrokeLineJoin>Round</StrokeLineJoin>
          <StrokeMiterLimit>1</StrokeMiterLimit>
          <PointWidth>5</PointWidth>
          <PointHeight>5</PointHeight>
          <PointType>Circle</PointType>
          <PointImage>
            <Image Width='NaN' Height='NaN' Opacity='1'>
              <ImageSource>
                <BitmapImage Uri='' />
              </ImageSource>
            </Image>
          </PointImage>
          <AdjustX>0</AdjustX>
          <AdjustY>0</AdjustY>
        </Style>
      </VectorLayerTheme>
    </LayerThemes>
  </PostGisLayer>
  <PostGisLayer Name='contour' Visible='true' Type='Vector' Readable='true' Writable='true' MaxScale='10000' MinScale='0' Opacity='1'>
    <PostGisSource Name='miyake_public_landform_bl' Srid='4301' CoordUnit='DEGREES' MaxScale='1E+18' MinScale='0' DbName='miyake' GeometryColumn='the_geom' TableName='landform_bl' TableCatalog='' TableSchema='public' GetColumnDataUri='http://azukimap.jp/amdev/getGeomData.php'>
      <SourceLogo></SourceLogo>
      <VectorType>MultiLineString</VectorType>
    </PostGisSource>
    <DefaultStyle>
      <Fill>
        <Brush>
          <SolidColorBrush>
            <Color R='128' G='128' B='128' A='255' />
            <Opacity>0</Opacity>
          </SolidColorBrush>
        </Brush>
      </Fill>
      <FillRule>EvenOdd</FillRule>
      <Opacity>1</Opacity>
      <Stroke>
        <Brush>
          <SolidColorBrush>
            <Color R='218' G='151' B='47' A='255' />
            <Opacity>1</Opacity>
          </SolidColorBrush>
        </Brush>
      </Stroke>
      <StrokeThickness>0.25</StrokeThickness>
      <StrokeDashArray>
        <DoubleCollection>
          <Value>11</Value>
        </DoubleCollection>
      </StrokeDashArray>
      <StrokeDashOffset>0</StrokeDashOffset>
      <StrokeDashCap>Square</StrokeDashCap>
      <StrokeStartLineCap>Square</StrokeStartLineCap>
      <StrokeEndLineCap>Square</StrokeEndLineCap>
      <StrokeLineJoin>Round</StrokeLineJoin>
      <StrokeMiterLimit>1</StrokeMiterLimit>
      <PointWidth>5</PointWidth>
      <PointHeight>5</PointHeight>
      <PointType>Circle</PointType>
      <PointImage>
        <Image Width='NaN' Height='NaN' Opacity='1'>
          <ImageSource>
            <BitmapImage Uri='' />
          </ImageSource>
        </Image>
      </PointImage>
      <AdjustX>0</AdjustX>
      <AdjustY>0</AdjustY>
    </DefaultStyle>
    <LayerThemes>
      <VectorLayerTheme>
        <ThemeName>theme name</ThemeName>
        <ThemeId>50</ThemeId>
        <Expression>小分類 like '%計曲線%'</Expression>
        <Style>
          <Fill>
            <Brush>
              <SolidColorBrush>
                <Color R='128' G='128' B='128' A='255' />
                <Opacity>0</Opacity>
              </SolidColorBrush>
            </Brush>
          </Fill>
          <FillRule>EvenOdd</FillRule>
          <Opacity>1</Opacity>
          <Stroke>
            <Brush>
              <SolidColorBrush>
                <Color R='210' G='140' B='49' A='255' />
                <Opacity>1</Opacity>
              </SolidColorBrush>
            </Brush>
          </Stroke>
          <StrokeThickness>1</StrokeThickness>
          <StrokeDashArray>
            <DoubleCollection>
              <Value>11</Value>
            </DoubleCollection>
          </StrokeDashArray>
          <StrokeDashOffset>0</StrokeDashOffset>
          <StrokeDashCap>Flat</StrokeDashCap>
          <StrokeStartLineCap>Flat</StrokeStartLineCap>
          <StrokeEndLineCap>Square</StrokeEndLineCap>
          <StrokeLineJoin>Round</StrokeLineJoin>
          <StrokeMiterLimit>1</StrokeMiterLimit>
          <PointWidth>5</PointWidth>
          <PointHeight>5</PointHeight>
          <PointType>Circle</PointType>
          <PointImage>
            <Image Width='NaN' Height='NaN' Opacity='1'>
              <ImageSource>
                <BitmapImage Uri='' />
              </ImageSource>
            </Image>
          </PointImage>
          <AdjustX>0</AdjustX>
          <AdjustY>0</AdjustY>
        </Style>
      </VectorLayerTheme>
    </LayerThemes>
  </PostGisLayer>
  <PostGisLayer Name='debris flow(polygon)' Visible='true' Type='Vector' Readable='true' Writable='true' MaxScale='50000' MinScale='0' Opacity='1'>
    <PostGisSource Name='miyake_public_miyake_madflowp_bl' Srid='4301' CoordUnit='DEGREES' MaxScale='1E+18' MinScale='0' DbName='miyake' GeometryColumn='the_geom' TableName='miyake_madflowp_bl' TableCatalog='' TableSchema='public' GetColumnDataUri='http://azukimap.jp/amdev/getGeomData.php'>
      <SourceLogo></SourceLogo>
      <VectorType>MultiPolygon</VectorType>
    </PostGisSource>
    <DefaultStyle>
      <Fill>
        <Brush>
          <SolidColorBrush>
            <Color R='0' G='0' B='0' A='0' />
            <Opacity>1</Opacity>
          </SolidColorBrush>
        </Brush>
      </Fill>
      <FillRule>EvenOdd</FillRule>
      <Opacity>0.5</Opacity>
      <Stroke>
        <Brush>
          <SolidColorBrush>
            <Color R='0' G='0' B='0' A='255' />
            <Opacity>1</Opacity>
          </SolidColorBrush>
        </Brush>
      </Stroke>
      <StrokeThickness>1</StrokeThickness>
      <StrokeDashArray>
        <DoubleCollection>
          <Value>11</Value>
        </DoubleCollection>
      </StrokeDashArray>
      <StrokeDashOffset>0</StrokeDashOffset>
      <StrokeDashCap>Flat</StrokeDashCap>
      <StrokeStartLineCap>Flat</StrokeStartLineCap>
      <StrokeEndLineCap>Square</StrokeEndLineCap>
      <StrokeLineJoin>Round</StrokeLineJoin>
      <StrokeMiterLimit>1</StrokeMiterLimit>
      <PointWidth>5</PointWidth>
      <PointHeight>5</PointHeight>
      <PointType>Circle</PointType>
      <PointImage>
        <Image Width='NaN' Height='NaN' Opacity='1'>
          <ImageSource>
            <BitmapImage Uri='' />
          </ImageSource>
        </Image>
      </PointImage>
      <AdjustX>0</AdjustX>
      <AdjustY>0</AdjustY>
    </DefaultStyle>
    <LayerThemes />
  </PostGisLayer>
  <PostGisLayer Name='debris flow(line)' Visible='true' Type='Vector' Readable='true' Writable='true' MaxScale='50000' MinScale='0' Opacity='1'>
    <PostGisSource Name='miyake_public_miyake_madflowa_bl' Srid='4301' CoordUnit='DEGREES' MaxScale='1E+18' MinScale='0' DbName='miyake' GeometryColumn='the_geom' TableName='miyake_madflowa_bl' TableCatalog='' TableSchema='public' GetColumnDataUri='http://azukimap.jp/amdev/getGeomData.php'>
      <SourceLogo></SourceLogo>
      <VectorType>MultiLineString</VectorType>
    </PostGisSource>
    <DefaultStyle>
      <FillRule>EvenOdd</FillRule>
      <Opacity>1</Opacity>
      <Stroke>
        <Brush>
          <SolidColorBrush>
            <Color R='0' G='0' B='0' A='255' />
            <Opacity>1</Opacity>
          </SolidColorBrush>
        </Brush>
      </Stroke>
      <StrokeThickness>1</StrokeThickness>
      <StrokeDashArray>
        <DoubleCollection>
          <Value>11</Value>
        </DoubleCollection>
      </StrokeDashArray>
      <StrokeDashOffset>0</StrokeDashOffset>
      <StrokeDashCap>Flat</StrokeDashCap>
      <StrokeStartLineCap>Flat</StrokeStartLineCap>
      <StrokeEndLineCap>Square</StrokeEndLineCap>
      <StrokeLineJoin>Round</StrokeLineJoin>
      <StrokeMiterLimit>1</StrokeMiterLimit>
      <PointWidth>5</PointWidth>
      <PointHeight>5</PointHeight>
      <PointType>Circle</PointType>
      <PointImage>
        <Image Width='NaN' Height='NaN' Opacity='1'>
          <ImageSource>
            <BitmapImage Uri='' />
          </ImageSource>
        </Image>
      </PointImage>
      <AdjustX>0</AdjustX>
      <AdjustY>0</AdjustY>
    </DefaultStyle>
    <LayerThemes />
  </PostGisLayer>
  <PostGisLayer Name='land slide' Visible='true' Type='Vector' Readable='true' Writable='true' MaxScale='50000' MinScale='0' Opacity='1'>
    <PostGisSource Name='miyake_public_miyake_hokaip_bl' Srid='4301' CoordUnit='DEGREES' MaxScale='1E+18' MinScale='0' DbName='miyake' GeometryColumn='the_geom' TableName='miyake_hokaip_bl' TableCatalog='' TableSchema='public' GetColumnDataUri='http://azukimap.jp/amdev/getGeomData.php'>
      <SourceLogo></SourceLogo>
      <VectorType>MultiPolygon</VectorType>
    </PostGisSource>
    <DefaultStyle>
      <Fill>
        <Brush>
          <SolidColorBrush>
            <Color R='0' G='0' B='0' A='0' />
            <Opacity>1</Opacity>
          </SolidColorBrush>
        </Brush>
      </Fill>
      <FillRule>EvenOdd</FillRule>
      <Opacity>0.5</Opacity>
      <Stroke>
        <Brush>
          <SolidColorBrush>
            <Color R='0' G='0' B='0' A='255' />
            <Opacity>1</Opacity>
          </SolidColorBrush>
        </Brush>
      </Stroke>
      <StrokeThickness>1</StrokeThickness>
      <StrokeDashArray>
        <DoubleCollection>
          <Value>11</Value>
        </DoubleCollection>
      </StrokeDashArray>
      <StrokeDashOffset>0</StrokeDashOffset>
      <StrokeDashCap>Flat</StrokeDashCap>
      <StrokeStartLineCap>Flat</StrokeStartLineCap>
      <StrokeEndLineCap>Square</StrokeEndLineCap>
      <StrokeLineJoin>Round</StrokeLineJoin>
      <StrokeMiterLimit>1</StrokeMiterLimit>
      <PointWidth>5</PointWidth>
      <PointHeight>5</PointHeight>
      <PointType>Circle</PointType>
      <PointImage>
        <Image Width='NaN' Height='NaN' Opacity='1'>
          <ImageSource>
            <BitmapImage Uri='' />
          </ImageSource>
        </Image>
      </PointImage>
      <AdjustX>0</AdjustX>
      <AdjustY>0</AdjustY>
    </DefaultStyle>
    <LayerThemes />
  </PostGisLayer>
  <PostGisLayer Name='building' Visible='true' Type='Vector' Readable='true' Writable='true' MaxScale='10000' MinScale='0' Opacity='1'>
    <PostGisSource Name='miyake_public_building_bl' Srid='4301' CoordUnit='DEGREES' MaxScale='1E+18' MinScale='0' DbName='miyake' GeometryColumn='the_geom' TableName='building_bl' TableCatalog='' TableSchema='public' GetColumnDataUri='http://azukimap.jp/amdev/getGeomData.php'>
      <SourceLogo></SourceLogo>
      <VectorType>MultiPolygon</VectorType>
    </PostGisSource>
    <DefaultStyle>
      <Fill>
        <Brush>
          <SolidColorBrush>
            <Color R='255' G='255' B='255' A='255' />
            <Opacity>1</Opacity>
          </SolidColorBrush>
        </Brush>
      </Fill>
      <FillRule>EvenOdd</FillRule>
      <Opacity>0.5</Opacity>
      <Stroke>
        <Brush>
          <SolidColorBrush>
            <Color R='0' G='0' B='0' A='255' />
            <Opacity>1</Opacity>
          </SolidColorBrush>
        </Brush>
      </Stroke>
      <StrokeThickness>0.25</StrokeThickness>
      <StrokeDashArray>
        <DoubleCollection>
          <Value>11</Value>
        </DoubleCollection>
      </StrokeDashArray>
      <StrokeDashOffset>0</StrokeDashOffset>
      <StrokeDashCap>Square</StrokeDashCap>
      <StrokeStartLineCap>Square</StrokeStartLineCap>
      <StrokeEndLineCap>Square</StrokeEndLineCap>
      <StrokeLineJoin>Round</StrokeLineJoin>
      <StrokeMiterLimit>1</StrokeMiterLimit>
      <PointWidth>5</PointWidth>
      <PointHeight>5</PointHeight>
      <PointType>Circle</PointType>
      <PointImage>
        <Image Width='NaN' Height='NaN' Opacity='1'>
          <ImageSource>
            <BitmapImage Uri='' />
          </ImageSource>
        </Image>
      </PointImage>
      <AdjustX>0</AdjustX>
      <AdjustY>0</AdjustY>
    </DefaultStyle>
    <LayerThemes />
  </PostGisLayer>
  <PostGisLayer Name='landform(line)' Visible='true' Type='Vector' Readable='true' Writable='true' MaxScale='50000' MinScale='0' Opacity='1'>
    <PostGisSource Name='miyake_public_miyake_chikeia_bl' Srid='4301' CoordUnit='DEGREES' MaxScale='1E+18' MinScale='0' DbName='miyake' GeometryColumn='the_geom' TableName='miyake_chikeia_bl' TableCatalog='' TableSchema='public' GetColumnDataUri='http://azukimap.jp/amdev/getGeomData.php'>
      <SourceLogo></SourceLogo>
      <VectorType>MultiLineString</VectorType>
    </PostGisSource>
    <DefaultStyle>
      <Fill>
        <Brush>
          <SolidColorBrush>
            <Color R='128' G='128' B='128' A='255' />
            <Opacity>0</Opacity>
          </SolidColorBrush>
        </Brush>
      </Fill>
      <FillRule>EvenOdd</FillRule>
      <Opacity>1</Opacity>
      <Stroke>
        <Brush>
          <SolidColorBrush>
            <Color R='0' G='0' B='0' A='255' />
            <Opacity>1</Opacity>
          </SolidColorBrush>
        </Brush>
      </Stroke>
      <StrokeThickness>0.25</StrokeThickness>
      <StrokeDashArray>
        <DoubleCollection>
          <Value>11</Value>
        </DoubleCollection>
      </StrokeDashArray>
      <StrokeDashOffset>0</StrokeDashOffset>
      <StrokeDashCap>Square</StrokeDashCap>
      <StrokeStartLineCap>Square</StrokeStartLineCap>
      <StrokeEndLineCap>Square</StrokeEndLineCap>
      <StrokeLineJoin>Round</StrokeLineJoin>
      <StrokeMiterLimit>1</StrokeMiterLimit>
      <PointWidth>5</PointWidth>
      <PointHeight>5</PointHeight>
      <PointType>Circle</PointType>
      <PointImage>
        <Image Width='NaN' Height='NaN' Opacity='1'>
          <ImageSource>
            <BitmapImage Uri='' />
          </ImageSource>
        </Image>
      </PointImage>
      <AdjustX>0</AdjustX>
      <AdjustY>0</AdjustY>
    </DefaultStyle>
    <LayerThemes />
  </PostGisLayer>
  <PostGisLayer Name='cliff' Type='Vector' Visible='true' Readable='true' Writable='true' MaxScale='50000' MinScale='0' Opacity='1'>
    <PostGisSource Name='miyake_public_cliff_bl' Srid='4301' CoordUnit='DEGREES' MaxScale='1E+18' MinScale='0' DbName='miyake' GeometryColumn='the_geom' TableName='cliff_bl' TableCatalog='' TableSchema='public' GetColumnDataUri='http://azukimap.jp/amdev/getGeomData.php'>
      <SourceLogo></SourceLogo>
      <VectorType>MultiPolygon</VectorType>
    </PostGisSource>
    <DefaultStyle>
      <Fill>
        <Brush>
          <SolidColorBrush>
            <Color R='251' G='35' B='122' A='255' />
            <Opacity>1</Opacity>
          </SolidColorBrush>
        </Brush>
      </Fill>
      <FillRule>EvenOdd</FillRule>
      <Opacity>0.5</Opacity>
      <Stroke>
        <Brush>
          <SolidColorBrush>
            <Color R='0' G='0' B='0' A='255' />
            <Opacity>1</Opacity>
          </SolidColorBrush>
        </Brush>
      </Stroke>
      <StrokeThickness>0.5</StrokeThickness>
      <StrokeDashArray>
        <DoubleCollection>
          <Value>11</Value>
        </DoubleCollection>
      </StrokeDashArray>
      <StrokeDashOffset>0</StrokeDashOffset>
      <StrokeDashCap>Square</StrokeDashCap>
      <StrokeStartLineCap>Square</StrokeStartLineCap>
      <StrokeEndLineCap>Square</StrokeEndLineCap>
      <StrokeLineJoin>Round</StrokeLineJoin>
      <StrokeMiterLimit>1</StrokeMiterLimit>
      <PointWidth>5</PointWidth>
      <PointHeight>5</PointHeight>
      <PointType>Circle</PointType>
      <PointImage>
        <Image Width='NaN' Height='NaN' Opacity='1'>
          <ImageSource>
            <BitmapImage Uri='' />
          </ImageSource>
        </Image>
      </PointImage>
      <AdjustX>0</AdjustX>
      <AdjustY>0</AdjustY>
    </DefaultStyle>
    <LayerThemes />
  </PostGisLayer>
  <PostGisLayer Name='landform(polygon)' Visible='false' Type='Vector' Readable='true' Writable='true' MaxScale='50000' MinScale='0' Opacity='0.5'>
    <PostGisSource Name='miyake_public_miyake_chikeip_bl' Srid='4301' CoordUnit='DEGREES' MaxScale='1E+18' MinScale='0' DbName='miyake' GeometryColumn='the_geom' TableName='miyake_chikeip_bl' TableCatalog='' TableSchema='public' GetColumnDataUri='http://azukimap.jp/amdev/getGeomData.php'>
      <SourceLogo></SourceLogo>
      <VectorType>MultiPolygon</VectorType>
    </PostGisSource>
    <DefaultStyle>
      <Fill>
        <Brush>
          <SolidColorBrush>
            <Color R='0' G='0' B='0' A='0' />
            <Opacity>0</Opacity>
          </SolidColorBrush>
        </Brush>
      </Fill>
      <FillRule>EvenOdd</FillRule>
      <Opacity>0.5</Opacity>
      <Stroke>
        <Brush>
          <SolidColorBrush>
            <Color R='0' G='0' B='0' A='255' />
            <Opacity>1</Opacity>
          </SolidColorBrush>
        </Brush>
      </Stroke>
      <StrokeThickness>0.5</StrokeThickness>
      <StrokeDashArray>
        <DoubleCollection>
          <Value>11</Value>
        </DoubleCollection>
      </StrokeDashArray>
      <StrokeDashOffset>0</StrokeDashOffset>
      <StrokeDashCap>Flat</StrokeDashCap>
      <StrokeStartLineCap>Flat</StrokeStartLineCap>
      <StrokeEndLineCap>Square</StrokeEndLineCap>
      <StrokeLineJoin>Round</StrokeLineJoin>
      <StrokeMiterLimit>1</StrokeMiterLimit>
      <PointWidth>5</PointWidth>
      <PointHeight>5</PointHeight>
      <PointType>Circle</PointType>
      <PointImage>
        <Image Width='NaN' Height='NaN' Opacity='1'>
          <ImageSource>
            <BitmapImage Uri='' />
          </ImageSource>
        </Image>
      </PointImage>
      <AdjustX>0</AdjustX>
      <AdjustY>0</AdjustY>
    </DefaultStyle>
    <LayerThemes>
      <VectorLayerTheme>
        <ThemeName>theme name</ThemeName>
        <ThemeId>30</ThemeId>
        <Expression>attribute = '砂浜・礫浜'</Expression>
        <Style>
          <Fill>
            <Brush>
              <SolidColorBrush>
                <Color R='233' G='233' B='233' A='255' />
                <Opacity>1</Opacity>
              </SolidColorBrush>
            </Brush>
          </Fill>
          <FillRule>EvenOdd</FillRule>
          <Opacity>1</Opacity>
          <Stroke>
            <Brush>
              <SolidColorBrush>
                <Color R='0' G='0' B='0' A='255' />
                <Opacity>1</Opacity>
              </SolidColorBrush>
            </Brush>
          </Stroke>
          <StrokeThickness>0.05</StrokeThickness>
          <StrokeDashArray>
            <DoubleCollection>
              <Value>11</Value>
            </DoubleCollection>
          </StrokeDashArray>
          <StrokeDashOffset>0</StrokeDashOffset>
          <StrokeDashCap>Flat</StrokeDashCap>
          <StrokeStartLineCap>Flat</StrokeStartLineCap>
          <StrokeEndLineCap>Square</StrokeEndLineCap>
          <StrokeLineJoin>Round</StrokeLineJoin>
          <StrokeMiterLimit>1</StrokeMiterLimit>
          <PointWidth>5</PointWidth>
          <PointHeight>5</PointHeight>
          <PointType>Circle</PointType>
          <PointImage>
            <Image Width='NaN' Height='NaN' Opacity='1'>
              <ImageSource>
                <BitmapImage Uri='' />
              </ImageSource>
            </Image>
          </PointImage>
          <AdjustX>0</AdjustX>
          <AdjustY>0</AdjustY>
        </Style>
      </VectorLayerTheme>
      <VectorLayerTheme>
        <ThemeName>theme name</ThemeName>
        <ThemeId>31</ThemeId>
        <Expression>attribute = '海食崖'</Expression>
        <Style>
          <Fill>
            <Brush>
              <SolidColorBrush>
                <Color R='236' G='236' B='236' A='255' />
                <Opacity>1</Opacity>
              </SolidColorBrush>
            </Brush>
          </Fill>
          <FillRule>EvenOdd</FillRule>
          <Opacity>1</Opacity>
          <Stroke>
            <Brush>
              <SolidColorBrush>
                <Color R='0' G='0' B='0' A='255' />
                <Opacity>1</Opacity>
              </SolidColorBrush>
            </Brush>
          </Stroke>
          <StrokeThickness>0.5</StrokeThickness>
          <StrokeDashArray>
            <DoubleCollection>
              <Value>11</Value>
            </DoubleCollection>
          </StrokeDashArray>
          <StrokeDashOffset>0</StrokeDashOffset>
          <StrokeDashCap>Square</StrokeDashCap>
          <StrokeStartLineCap>Square</StrokeStartLineCap>
          <StrokeEndLineCap>Square</StrokeEndLineCap>
          <StrokeLineJoin>Round</StrokeLineJoin>
          <StrokeMiterLimit>1</StrokeMiterLimit>
          <PointWidth>5</PointWidth>
          <PointHeight>5</PointHeight>
          <PointType>Circle</PointType>
          <PointImage>
            <Image Width='NaN' Height='NaN' Opacity='1'>
              <ImageSource>
                <BitmapImage Uri='' />
              </ImageSource>
            </Image>
          </PointImage>
          <AdjustX>0</AdjustX>
          <AdjustY>0</AdjustY>
        </Style>
      </VectorLayerTheme>
      <VectorLayerTheme>
        <ThemeName>theme name</ThemeName>
        <ThemeId>32</ThemeId>
        <Expression>attribute = '人工改変地'</Expression>
        <Style>
          <Fill>
            <Brush>
              <SolidColorBrush>
                <Color R='235' G='235' B='235' A='255' />
                <Opacity>1</Opacity>
              </SolidColorBrush>
            </Brush>
          </Fill>
          <FillRule>EvenOdd</FillRule>
          <Opacity>1</Opacity>
          <Stroke>
            <Brush>
              <SolidColorBrush>
                <Color R='0' G='0' B='0' A='255' />
                <Opacity>1</Opacity>
              </SolidColorBrush>
            </Brush>
          </Stroke>
          <StrokeThickness>0.5</StrokeThickness>
          <StrokeDashArray>
            <DoubleCollection>
              <Value>11</Value>
            </DoubleCollection>
          </StrokeDashArray>
          <StrokeDashOffset>0</StrokeDashOffset>
          <StrokeDashCap>Flat</StrokeDashCap>
          <StrokeStartLineCap>Flat</StrokeStartLineCap>
          <StrokeEndLineCap>Square</StrokeEndLineCap>
          <StrokeLineJoin>Round</StrokeLineJoin>
          <StrokeMiterLimit>1</StrokeMiterLimit>
          <PointWidth>5</PointWidth>
          <PointHeight>5</PointHeight>
          <PointType>Circle</PointType>
          <PointImage>
            <Image Width='NaN' Height='NaN' Opacity='1'>
              <ImageSource>
                <BitmapImage Uri='' />
              </ImageSource>
            </Image>
          </PointImage>
          <AdjustX>0</AdjustX>
          <AdjustY>0</AdjustY>
        </Style>
      </VectorLayerTheme>
      <VectorLayerTheme>
        <ThemeName>theme name</ThemeName>
        <ThemeId>33</ThemeId>
        <Expression>attribute = '成層火山体斜面'</Expression>
        <Style>
          <Fill>
            <Brush>
              <SolidColorBrush>
                <Color R='255' G='246' B='227' A='255' />
                <Opacity>1</Opacity>
              </SolidColorBrush>
            </Brush>
          </Fill>
          <FillRule>EvenOdd</FillRule>
          <Opacity>1</Opacity>
          <Stroke>
            <Brush>
              <SolidColorBrush>
                <Color R='0' G='0' B='0' A='255' />
                <Opacity>1</Opacity>
              </SolidColorBrush>
            </Brush>
          </Stroke>
          <StrokeThickness>0.5</StrokeThickness>
          <StrokeDashArray>
            <DoubleCollection>
              <Value>11</Value>
            </DoubleCollection>
          </StrokeDashArray>
          <StrokeDashOffset>0</StrokeDashOffset>
          <StrokeDashCap>Flat</StrokeDashCap>
          <StrokeStartLineCap>Flat</StrokeStartLineCap>
          <StrokeEndLineCap>Square</StrokeEndLineCap>
          <StrokeLineJoin>Round</StrokeLineJoin>
          <StrokeMiterLimit>1</StrokeMiterLimit>
          <PointWidth>5</PointWidth>
          <PointHeight>5</PointHeight>
          <PointType>Circle</PointType>
          <PointImage>
            <Image Width='NaN' Height='NaN' Opacity='1'>
              <ImageSource>
                <BitmapImage Uri='' />
              </ImageSource>
            </Image>
          </PointImage>
          <AdjustX>0</AdjustX>
          <AdjustY>0</AdjustY>
        </Style>
      </VectorLayerTheme>
      <VectorLayerTheme>
        <ThemeName>theme name</ThemeName>
        <ThemeId>34</ThemeId>
        <Expression>attribute = '１９８３年溶岩流' </Expression>
        <Style>
          <Fill>
            <Brush>
              <SolidColorBrush>
                <Color R='255' G='81' B='81' A='255' />
                <Opacity>1</Opacity>
              </SolidColorBrush>
            </Brush>
          </Fill>
          <FillRule>EvenOdd</FillRule>
          <Opacity>1</Opacity>
          <Stroke>
            <Brush>
              <SolidColorBrush>
                <Color R='0' G='0' B='0' A='255' />
                <Opacity>1</Opacity>
              </SolidColorBrush>
            </Brush>
          </Stroke>
          <StrokeThickness>0.5</StrokeThickness>
          <StrokeDashArray>
            <DoubleCollection>
              <Value>11</Value>
            </DoubleCollection>
          </StrokeDashArray>
          <StrokeDashOffset>0</StrokeDashOffset>
          <StrokeDashCap>Square</StrokeDashCap>
          <StrokeStartLineCap>Square</StrokeStartLineCap>
          <StrokeEndLineCap>Square</StrokeEndLineCap>
          <StrokeLineJoin>Round</StrokeLineJoin>
          <StrokeMiterLimit>1</StrokeMiterLimit>
          <PointWidth>5</PointWidth>
          <PointHeight>5</PointHeight>
          <PointType>Circle</PointType>
          <PointImage>
            <Image Width='NaN' Height='NaN' Opacity='1'>
              <ImageSource>
                <BitmapImage Uri='' />
              </ImageSource>
            </Image>
          </PointImage>
          <AdjustX>0</AdjustX>
          <AdjustY>0</AdjustY>
        </Style>
      </VectorLayerTheme>
      <VectorLayerTheme>
        <ThemeName>theme name</ThemeName>
        <ThemeId>35</ThemeId>
        <Expression>attribute = '１９８３年以前の溶岩流'</Expression>
        <Style>
          <Fill>
            <Brush>
              <SolidColorBrush>
                <Color R='255' G='196' B='94' A='255' />
                <Opacity>1</Opacity>
              </SolidColorBrush>
            </Brush>
          </Fill>
          <FillRule>EvenOdd</FillRule>
          <Opacity>1</Opacity>
          <Stroke>
            <Brush>
              <SolidColorBrush>
                <Color R='0' G='0' B='0' A='255' />
                <Opacity>1</Opacity>
              </SolidColorBrush>
            </Brush>
          </Stroke>
          <StrokeThickness>0.5</StrokeThickness>
          <StrokeDashArray>
            <DoubleCollection>
              <Value>11</Value>
            </DoubleCollection>
          </StrokeDashArray>
          <StrokeDashOffset>0</StrokeDashOffset>
          <StrokeDashCap>Flat</StrokeDashCap>
          <StrokeStartLineCap>Flat</StrokeStartLineCap>
          <StrokeEndLineCap>Square</StrokeEndLineCap>
          <StrokeLineJoin>Round</StrokeLineJoin>
          <StrokeMiterLimit>1</StrokeMiterLimit>
          <PointWidth>5</PointWidth>
          <PointHeight>5</PointHeight>
          <PointType>Circle</PointType>
          <PointImage>
            <Image Width='NaN' Height='NaN' Opacity='1'>
              <ImageSource>
                <BitmapImage Uri='' />
              </ImageSource>
            </Image>
          </PointImage>
          <AdjustX>0</AdjustX>
          <AdjustY>0</AdjustY>
        </Style>
      </VectorLayerTheme>
      <VectorLayerTheme>
        <ThemeName>theme name</ThemeName>
        <ThemeId>36</ThemeId>
        <Expression>attribute = '１９８３年スコリア丘'</Expression>
        <Style>
          <Fill>
            <Brush>
              <SolidColorBrush>
                <Color R='227' G='158' B='69' A='255' />
                <Opacity>1</Opacity>
              </SolidColorBrush>
            </Brush>
          </Fill>
          <FillRule>EvenOdd</FillRule>
          <Opacity>1</Opacity>
          <Stroke>
            <Brush>
              <SolidColorBrush>
                <Color R='0' G='0' B='0' A='255' />
                <Opacity>1</Opacity>
              </SolidColorBrush>
            </Brush>
          </Stroke>
          <StrokeThickness>0.5</StrokeThickness>
          <StrokeDashArray>
            <DoubleCollection>
              <Value>11</Value>
            </DoubleCollection>
          </StrokeDashArray>
          <StrokeDashOffset>0</StrokeDashOffset>
          <StrokeDashCap>Square</StrokeDashCap>
          <StrokeStartLineCap>Square</StrokeStartLineCap>
          <StrokeEndLineCap>Square</StrokeEndLineCap>
          <StrokeLineJoin>Round</StrokeLineJoin>
          <StrokeMiterLimit>1</StrokeMiterLimit>
          <PointWidth>5</PointWidth>
          <PointHeight>5</PointHeight>
          <PointType>Circle</PointType>
          <PointImage>
            <Image Width='NaN' Height='NaN' Opacity='1'>
              <ImageSource>
                <BitmapImage Uri='' />
              </ImageSource>
            </Image>
          </PointImage>
          <AdjustX>0</AdjustX>
          <AdjustY>0</AdjustY>
        </Style>
      </VectorLayerTheme>
      <VectorLayerTheme>
        <ThemeName>theme name</ThemeName>
        <ThemeId>37</ThemeId>
        <Expression>attribute = '１９８３年以前のスコリア丘' </Expression>
        <Style>
          <Fill>
            <Brush>
              <SolidColorBrush>
                <Color R='228' G='176' B='85' A='255' />
                <Opacity>1</Opacity>
              </SolidColorBrush>
            </Brush>
          </Fill>
          <FillRule>EvenOdd</FillRule>
          <Opacity>1</Opacity>
          <Stroke>
            <Brush>
              <SolidColorBrush>
                <Color R='0' G='0' B='0' A='255' />
                <Opacity>1</Opacity>
              </SolidColorBrush>
            </Brush>
          </Stroke>
          <StrokeThickness>0.5</StrokeThickness>
          <StrokeDashArray>
            <DoubleCollection>
              <Value>11</Value>
            </DoubleCollection>
          </StrokeDashArray>
          <StrokeDashOffset>0</StrokeDashOffset>
          <StrokeDashCap>Flat</StrokeDashCap>
          <StrokeStartLineCap>Flat</StrokeStartLineCap>
          <StrokeEndLineCap>Square</StrokeEndLineCap>
          <StrokeLineJoin>Round</StrokeLineJoin>
          <StrokeMiterLimit>1</StrokeMiterLimit>
          <PointWidth>5</PointWidth>
          <PointHeight>5</PointHeight>
          <PointType>Circle</PointType>
          <PointImage>
            <Image Width='NaN' Height='NaN' Opacity='1'>
              <ImageSource>
                <BitmapImage Uri='' />
              </ImageSource>
            </Image>
          </PointImage>
          <AdjustX>0</AdjustX>
          <AdjustY>0</AdjustY>
        </Style>
      </VectorLayerTheme>
      <VectorLayerTheme>
        <ThemeName>theme name</ThemeName>
        <ThemeId>38</ThemeId>
        <Expression>attribute = '火口池（沼）'</Expression>
        <Style>
          <Fill>
            <Brush>
              <SolidColorBrush>
                <Color R='129' G='145' B='255' A='255' />
                <Opacity>1</Opacity>
              </SolidColorBrush>
            </Brush>
          </Fill>
          <FillRule>EvenOdd</FillRule>
          <Opacity>1</Opacity>
          <Stroke>
            <Brush>
              <SolidColorBrush>
                <Color R='0' G='0' B='0' A='255' />
                <Opacity>1</Opacity>
              </SolidColorBrush>
            </Brush>
          </Stroke>
          <StrokeThickness>0.5</StrokeThickness>
          <StrokeDashArray>
            <DoubleCollection>
              <Value>11</Value>
            </DoubleCollection>
          </StrokeDashArray>
          <StrokeDashOffset>0</StrokeDashOffset>
          <StrokeDashCap>Flat</StrokeDashCap>
          <StrokeStartLineCap>Flat</StrokeStartLineCap>
          <StrokeEndLineCap>Square</StrokeEndLineCap>
          <StrokeLineJoin>Round</StrokeLineJoin>
          <StrokeMiterLimit>1</StrokeMiterLimit>
          <PointWidth>5</PointWidth>
          <PointHeight>5</PointHeight>
          <PointType>Circle</PointType>
          <PointImage>
            <Image Width='NaN' Height='NaN' Opacity='1'>
              <ImageSource>
                <BitmapImage Uri='' />
              </ImageSource>
            </Image>
          </PointImage>
          <AdjustX>0</AdjustX>
          <AdjustY>0</AdjustY>
        </Style>
      </VectorLayerTheme>
      <VectorLayerTheme>
        <ThemeName>theme name</ThemeName>
        <ThemeId>39</ThemeId>
        <Expression>attribute = '火口原'</Expression>
        <Style>
          <Fill>
            <Brush>
              <SolidColorBrush>
                <Color R='255' G='44' B='44' A='255' />
                <Opacity>1</Opacity>
              </SolidColorBrush>
            </Brush>
          </Fill>
          <FillRule>EvenOdd</FillRule>
          <Opacity>1</Opacity>
          <Stroke>
            <Brush>
              <SolidColorBrush>
                <Color R='0' G='0' B='0' A='255' />
                <Opacity>1</Opacity>
              </SolidColorBrush>
            </Brush>
          </Stroke>
          <StrokeThickness>0.5</StrokeThickness>
          <StrokeDashArray>
            <DoubleCollection>
              <Value>11</Value>
            </DoubleCollection>
          </StrokeDashArray>
          <StrokeDashOffset>0</StrokeDashOffset>
          <StrokeDashCap>Flat</StrokeDashCap>
          <StrokeStartLineCap>Flat</StrokeStartLineCap>
          <StrokeEndLineCap>Square</StrokeEndLineCap>
          <StrokeLineJoin>Round</StrokeLineJoin>
          <StrokeMiterLimit>1</StrokeMiterLimit>
          <PointWidth>5</PointWidth>
          <PointHeight>5</PointHeight>
          <PointType>Circle</PointType>
          <PointImage>
            <Image Width='NaN' Height='NaN' Opacity='1'>
              <ImageSource>
                <BitmapImage Uri='' />
              </ImageSource>
            </Image>
          </PointImage>
          <AdjustX>0</AdjustX>
          <AdjustY>0</AdjustY>
        </Style>
      </VectorLayerTheme>
      <VectorLayerTheme>
        <ThemeName>theme name</ThemeName>
        <ThemeId>40</ThemeId>
        <Expression>attribute = '火口・火口壁'</Expression>
        <Style>
          <Fill>
            <Brush>
              <SolidColorBrush>
                <Color R='210' G='14' B='14' A='255' />
                <Opacity>1</Opacity>
              </SolidColorBrush>
            </Brush>
          </Fill>
          <FillRule>EvenOdd</FillRule>
          <Opacity>1</Opacity>
          <Stroke>
            <Brush>
              <SolidColorBrush>
                <Color R='0' G='0' B='0' A='255' />
                <Opacity>1</Opacity>
              </SolidColorBrush>
            </Brush>
          </Stroke>
          <StrokeThickness>0.5</StrokeThickness>
          <StrokeDashArray>
            <DoubleCollection>
              <Value>11</Value>
            </DoubleCollection>
          </StrokeDashArray>
          <StrokeDashOffset>0</StrokeDashOffset>
          <StrokeDashCap>Flat</StrokeDashCap>
          <StrokeStartLineCap>Flat</StrokeStartLineCap>
          <StrokeEndLineCap>Square</StrokeEndLineCap>
          <StrokeLineJoin>Round</StrokeLineJoin>
          <StrokeMiterLimit>1</StrokeMiterLimit>
          <PointWidth>5</PointWidth>
          <PointHeight>5</PointHeight>
          <PointType>Circle</PointType>
          <PointImage>
            <Image Width='NaN' Height='NaN' Opacity='1'>
              <ImageSource>
                <BitmapImage Uri='' />
              </ImageSource>
            </Image>
          </PointImage>
          <AdjustX>0</AdjustX>
          <AdjustY>0</AdjustY>
        </Style>
      </VectorLayerTheme>
      <VectorLayerTheme>
        <ThemeName>theme name</ThemeName>
        <ThemeId>41</ThemeId>
        <Expression>attribute = '火口・推定火口' </Expression>
        <Style>
          <Fill>
            <Brush>
              <SolidColorBrush>
                <Color R='180' G='9' B='9' A='255' />
                <Opacity>1</Opacity>
              </SolidColorBrush>
            </Brush>
          </Fill>
          <FillRule>EvenOdd</FillRule>
          <Opacity>1</Opacity>
          <Stroke>
            <Brush>
              <SolidColorBrush>
                <Color R='0' G='0' B='0' A='255' />
                <Opacity>1</Opacity>
              </SolidColorBrush>
            </Brush>
          </Stroke>
          <StrokeThickness>0.5</StrokeThickness>
          <StrokeDashArray>
            <DoubleCollection>
              <Value>11</Value>
            </DoubleCollection>
          </StrokeDashArray>
          <StrokeDashOffset>0</StrokeDashOffset>
          <StrokeDashCap>Flat</StrokeDashCap>
          <StrokeStartLineCap>Flat</StrokeStartLineCap>
          <StrokeEndLineCap>Square</StrokeEndLineCap>
          <StrokeLineJoin>Round</StrokeLineJoin>
          <StrokeMiterLimit>1</StrokeMiterLimit>
          <PointWidth>5</PointWidth>
          <PointHeight>5</PointHeight>
          <PointType>Circle</PointType>
          <PointImage>
            <Image Width='NaN' Height='NaN' Opacity='1'>
              <ImageSource>
                <BitmapImage Uri='' />
              </ImageSource>
            </Image>
          </PointImage>
          <AdjustX>0</AdjustX>
          <AdjustY>0</AdjustY>
        </Style>
      </VectorLayerTheme>
      <VectorLayerTheme>
        <ThemeName>theme name</ThemeName>
        <ThemeId>42</ThemeId>
        <Expression>attribute = 'ガリー'</Expression>
        <Style>
          <Fill>
            <Brush>
              <SolidColorBrush>
                <Color R='193' G='109' B='13' A='255' />
                <Opacity>1</Opacity>
              </SolidColorBrush>
            </Brush>
          </Fill>
          <FillRule>EvenOdd</FillRule>
          <Opacity>1</Opacity>
          <Stroke>
            <Brush>
              <SolidColorBrush>
                <Color R='0' G='0' B='0' A='255' />
                <Opacity>1</Opacity>
              </SolidColorBrush>
            </Brush>
          </Stroke>
          <StrokeThickness>0.5</StrokeThickness>
          <StrokeDashArray>
            <DoubleCollection>
              <Value>11</Value>
            </DoubleCollection>
          </StrokeDashArray>
          <StrokeDashOffset>0</StrokeDashOffset>
          <StrokeDashCap>Flat</StrokeDashCap>
          <StrokeStartLineCap>Flat</StrokeStartLineCap>
          <StrokeEndLineCap>Square</StrokeEndLineCap>
          <StrokeLineJoin>Round</StrokeLineJoin>
          <StrokeMiterLimit>1</StrokeMiterLimit>
          <PointWidth>5</PointWidth>
          <PointHeight>5</PointHeight>
          <PointType>Circle</PointType>
          <PointImage>
            <Image Width='NaN' Height='NaN' Opacity='1'>
              <ImageSource>
                <BitmapImage Uri='' />
              </ImageSource>
            </Image>
          </PointImage>
          <AdjustX>0</AdjustX>
          <AdjustY>0</AdjustY>
        </Style>
      </VectorLayerTheme>
      <VectorLayerTheme>
        <ThemeName>theme name</ThemeName>
        <ThemeId>43</ThemeId>
        <Expression>attribute = '崖錘等'</Expression>
        <Style>
          <Fill>
            <Brush>
              <SolidColorBrush>
                <Color R='181' G='174' B='67' A='255' />
                <Opacity>1</Opacity>
              </SolidColorBrush>
            </Brush>
          </Fill>
          <FillRule>EvenOdd</FillRule>
          <Opacity>1</Opacity>
          <Stroke>
            <Brush>
              <SolidColorBrush>
                <Color R='0' G='0' B='0' A='255' />
                <Opacity>1</Opacity>
              </SolidColorBrush>
            </Brush>
          </Stroke>
          <StrokeThickness>0.5</StrokeThickness>
          <StrokeDashArray>
            <DoubleCollection>
              <Value>11</Value>
            </DoubleCollection>
          </StrokeDashArray>
          <StrokeDashOffset>0</StrokeDashOffset>
          <StrokeDashCap>Flat</StrokeDashCap>
          <StrokeStartLineCap>Flat</StrokeStartLineCap>
          <StrokeEndLineCap>Square</StrokeEndLineCap>
          <StrokeLineJoin>Round</StrokeLineJoin>
          <StrokeMiterLimit>1</StrokeMiterLimit>
          <PointWidth>5</PointWidth>
          <PointHeight>5</PointHeight>
          <PointType>Circle</PointType>
          <PointImage>
            <Image Width='NaN' Height='NaN' Opacity='1'>
              <ImageSource>
                <BitmapImage Uri='' />
              </ImageSource>
            </Image>
          </PointImage>
          <AdjustX>0</AdjustX>
          <AdjustY>0</AdjustY>
        </Style>
      </VectorLayerTheme>
      <VectorLayerTheme>
        <ThemeName>theme name</ThemeName>
        <ThemeId>44</ThemeId>
        <Expression>attribute = '判読困難域'</Expression>
        <Style>
          <Fill>
            <Brush>
              <SolidColorBrush>
                <Color R='128' G='128' B='128' A='255' />
                <Opacity>1</Opacity>
              </SolidColorBrush>
            </Brush>
          </Fill>
          <FillRule>EvenOdd</FillRule>
          <Opacity>1</Opacity>
          <Stroke>
            <Brush>
              <SolidColorBrush>
                <Color R='0' G='0' B='0' A='255' />
                <Opacity>1</Opacity>
              </SolidColorBrush>
            </Brush>
          </Stroke>
          <StrokeThickness>0.5</StrokeThickness>
          <StrokeDashArray>
            <DoubleCollection>
              <Value>11</Value>
            </DoubleCollection>
          </StrokeDashArray>
          <StrokeDashOffset>0</StrokeDashOffset>
          <StrokeDashCap>Flat</StrokeDashCap>
          <StrokeStartLineCap>Flat</StrokeStartLineCap>
          <StrokeEndLineCap>Square</StrokeEndLineCap>
          <StrokeLineJoin>Round</StrokeLineJoin>
          <StrokeMiterLimit>1</StrokeMiterLimit>
          <PointWidth>5</PointWidth>
          <PointHeight>5</PointHeight>
          <PointType>Circle</PointType>
          <PointImage>
            <Image Width='NaN' Height='NaN' Opacity='1'>
              <ImageSource>
                <BitmapImage Uri='' />
              </ImageSource>
            </Image>
          </PointImage>
          <AdjustX>0</AdjustX>
          <AdjustY>0</AdjustY>
        </Style>
      </VectorLayerTheme>
      <VectorLayerTheme>
        <ThemeName>theme name</ThemeName>
        <ThemeId>45</ThemeId>
        <Expression>attribute = '埋立地'</Expression>
        <Style>
          <Fill>
            <Brush>
              <SolidColorBrush>
                <Color R='128' G='128' B='128' A='255' />
                <Opacity>1</Opacity>
              </SolidColorBrush>
            </Brush>
          </Fill>
          <FillRule>EvenOdd</FillRule>
          <Opacity>1</Opacity>
          <Stroke>
            <Brush>
              <SolidColorBrush>
                <Color R='0' G='0' B='0' A='255' />
                <Opacity>1</Opacity>
              </SolidColorBrush>
            </Brush>
          </Stroke>
          <StrokeThickness>0.5</StrokeThickness>
          <StrokeDashArray>
            <DoubleCollection>
              <Value>11</Value>
            </DoubleCollection>
          </StrokeDashArray>
          <StrokeDashOffset>0</StrokeDashOffset>
          <StrokeDashCap>Flat</StrokeDashCap>
          <StrokeStartLineCap>Flat</StrokeStartLineCap>
          <StrokeEndLineCap>Square</StrokeEndLineCap>
          <StrokeLineJoin>Round</StrokeLineJoin>
          <StrokeMiterLimit>1</StrokeMiterLimit>
          <PointWidth>5</PointWidth>
          <PointHeight>5</PointHeight>
          <PointType>Circle</PointType>
          <PointImage>
            <Image Width='NaN' Height='NaN' Opacity='1'>
              <ImageSource>
                <BitmapImage Uri='' />
              </ImageSource>
            </Image>
          </PointImage>
          <AdjustX>0</AdjustX>
          <AdjustY>0</AdjustY>
        </Style>
      </VectorLayerTheme>
      <VectorLayerTheme>
        <ThemeName>theme name</ThemeName>
        <ThemeId>46</ThemeId>
        <Expression>attribute = '火口原の微高地'</Expression>
        <Style>
          <Fill>
            <Brush>
              <SolidColorBrush>
                <Color R='128' G='128' B='128' A='255' />
                <Opacity>1</Opacity>
              </SolidColorBrush>
            </Brush>
          </Fill>
          <FillRule>EvenOdd</FillRule>
          <Opacity>1</Opacity>
          <Stroke>
            <Brush>
              <SolidColorBrush>
                <Color R='0' G='0' B='0' A='255' />
                <Opacity>1</Opacity>
              </SolidColorBrush>
            </Brush>
          </Stroke>
          <StrokeThickness>0.5</StrokeThickness>
          <StrokeDashArray>
            <DoubleCollection>
              <Value>11</Value>
            </DoubleCollection>
          </StrokeDashArray>
          <StrokeDashOffset>0</StrokeDashOffset>
          <StrokeDashCap>Flat</StrokeDashCap>
          <StrokeStartLineCap>Flat</StrokeStartLineCap>
          <StrokeEndLineCap>Square</StrokeEndLineCap>
          <StrokeLineJoin>Round</StrokeLineJoin>
          <StrokeMiterLimit>1</StrokeMiterLimit>
          <PointWidth>5</PointWidth>
          <PointHeight>5</PointHeight>
          <PointType>Circle</PointType>
          <PointImage>
            <Image Width='NaN' Height='NaN' Opacity='1'>
              <ImageSource>
                <BitmapImage Uri='' />
              </ImageSource>
            </Image>
          </PointImage>
          <AdjustX>0</AdjustX>
          <AdjustY>0</AdjustY>
        </Style>
      </VectorLayerTheme>
      <VectorLayerTheme>
        <ThemeName>theme name</ThemeName>
        <ThemeId>47</ThemeId>
        <Expression>attribute = '小丘'</Expression>
        <Style>
          <Fill>
            <Brush>
              <SolidColorBrush>
                <Color R='128' G='128' B='128' A='255' />
                <Opacity>1</Opacity>
              </SolidColorBrush>
            </Brush>
          </Fill>
          <FillRule>EvenOdd</FillRule>
          <Opacity>1</Opacity>
          <Stroke>
            <Brush>
              <SolidColorBrush>
                <Color R='0' G='0' B='0' A='255' />
                <Opacity>1</Opacity>
              </SolidColorBrush>
            </Brush>
          </Stroke>
          <StrokeThickness>0.5</StrokeThickness>
          <StrokeDashArray>
            <DoubleCollection>
              <Value>11</Value>
            </DoubleCollection>
          </StrokeDashArray>
          <StrokeDashOffset>0</StrokeDashOffset>
          <StrokeDashCap>Flat</StrokeDashCap>
          <StrokeStartLineCap>Flat</StrokeStartLineCap>
          <StrokeEndLineCap>Square</StrokeEndLineCap>
          <StrokeLineJoin>Round</StrokeLineJoin>
          <StrokeMiterLimit>1</StrokeMiterLimit>
          <PointWidth>5</PointWidth>
          <PointHeight>5</PointHeight>
          <PointType>Circle</PointType>
          <PointImage>
            <Image Width='NaN' Height='NaN' Opacity='1'>
              <ImageSource>
                <BitmapImage Uri='' />
              </ImageSource>
            </Image>
          </PointImage>
          <AdjustX>0</AdjustX>
          <AdjustY>0</AdjustY>
        </Style>
      </VectorLayerTheme>
    </LayerThemes>
  </PostGisLayer>
</Layers>
";


    }
}
